package com.lrkj.payfee.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 充值类型对象 tb_refill
 *
 * @author yajun_ren
 * @date 2021-07-27
 */
public class Refill extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String refillId;

    /** 代码 */
    @Excel(name = "代码")
    private String refillCode;

    /** 充值卡类型 */
    @Excel(name = "充值卡类型")
    private String refillName;

    /** 所属物业 */
    @Excel(name = "所属物业")
    private String deptId;

    /** 说明 */
    @Excel(name = "说明")
    private String explains;

    private String deptName;

    /** 祖级ID */
    private String ancestors;

    public void setAncestors(String ancestors)
    {
        this.ancestors = ancestors;
    }

    public String getAncestors()
    {
        return ancestors;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public void setRefillId(String refillId)
    {
        this.refillId = refillId;
    }

    public String getRefillId()
    {
        return refillId;
    }
    public void setRefillCode(String refillCode)
    {
        this.refillCode = refillCode;
    }

    public String getRefillCode()
    {
        return refillCode;
    }
    public void setRefillName(String refillName)
    {
        this.refillName = refillName;
    }

    public String getRefillName()
    {
        return refillName;
    }
    public void setDeptId(String deptId)
    {
        this.deptId = deptId;
    }

    public String getDeptId()
    {
        return deptId;
    }
    public void setExplains(String explains)
    {
        this.explains = explains;
    }

    public String getExplains()
    {
        return explains;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("refillId", getRefillId())
            .append("refillCode", getRefillCode())
            .append("refillName", getRefillName())
            .append("deptId", getDeptId())
            .append("explains", getExplains())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
